"""
URL configuration for anti_fraud project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from console import views as con_views

urlpatterns = [
    path("admin/", admin.site.urls),
    path("", con_views.login),
    path("login", con_views.login,name='login'),
    path("register", con_views.register, name='register'),
    path("index_data", con_views.index, name='index_data'),
    path("get_index", con_views.get_index, name='get_index'),
    path("get_list", con_views.get_list, name='get_list'),
    path("get_list_phone", con_views.get_list_phone, name='get_list_phone'),
    path("get_profile", con_views.get_profile, name='get_profile'),
    path("get_sticky", con_views.get_sticky, name='get_sticky'),
    path("detection", con_views.detection, name='detection'),
    path("get_all_list", con_views.get_all_list, name='get_all_list'),
]
